package com.cxcy.swustlearner.mapper;

import com.cxcy.swustlearner.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {
    @Select("select *from users where username=#{username} and password=#{password}")
    public User login(String username, String password);
}